// pages/home/index.js
Page({
  data: {
    prompt:'选择你要专注的事吧',
    concentrateList:[
      {
        type:'阅读',
        time:'90min',
        background:'#3681FC',
        src:'/images/concentrate/read.png',
        className:'readImg'
      },
      {
        type:'刷题',
        time:'90min',
        background:'#F46A54',
        src:'/images/concentrate/questions.png',
        className:'questionsImg'
      },
      {
        type:'思考',
        time:'90min',
        background:'#FF9900',
        src:'/images/concentrate/think.png',
        className:'thinkImg'
      },
      {
        type:'工作',
        time:'90min',
        background:'#6515DD',
        src:'/images/concentrate/work.png',
        className:'workImg'
      },
      {
        type:'学习',
        time:'90min',
        background:'#20A464',
        src:'/images/concentrate/study.png',
        className:'studyImg'
      },
      {
        type:'自定义',
        time:'90min',
        background:'#161514',
        src:'/images/concentrate/custom.png',
        className:'customImg'
      }
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})